package com.heima.user;

import com.heima.feigns.ArticleFeign;
import com.heima.model.article.pojos.ApAuthor;
import com.heima.model.common.dtos.ResponseResult;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class tast {
    @Autowired
    ArticleFeign articleFeign;

    @Test
    public void chang1() {
        ResponseResult<ApAuthor> byUserId = articleFeign.findByUserId(4);
        System.out.println(byUserId);
    }

}
